package com.csii.modules.online.diagram.entity;

import java.util.List;

import com.csii.autopoi.poi.excel.annotation.Excel;
import com.csii.core.system.base.entity.BaseEntity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 图表配置
 */

@Data
@TableName("onl_diagram_combination")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "图表组合对象", description = "图表组合")
public class DiagramCombination extends BaseEntity {

	private static final long serialVersionUID = -321900087911168003L;

	@Excel(name = "组合报表名称", width = 15)
	@ApiModelProperty(value = "组合名称")
	private String templetName;

	@Excel(name = "组合报表编码", width = 15)
	@ApiModelProperty(value = "组合编码")
	private String templetCode;

	@Excel(name = "组合报表风格", width = 15)
	@ApiModelProperty(value = "组合报表风格")
	private String templetStyle;

	@Excel(name = "组合报表栅格数", width = 15)
	@ApiModelProperty(value = "组合报表栅格数")
	private Integer templetGrid;

	@TableField(exist = false)
	private List<DiagramCombinationDetail> diagramCombinationDetails;

}
